import request from '@/utils/request'

// 组件服务资源管理


// 分页查询应用系统IT路径组件服务资源列表
export function queryComponentServerResourceList(data) {
  return request({
    url: '/admin/modules/component/server/resource/queryComponentServerResourceList',
    method: 'post',
    data: data
  })
}

// 新增或更新系统IT路径组件服务资源
export function addOrEditComponentServerResource(data) {
  return request({
    url: '/admin/modules/component/server/resource/addOrEditComponentServerResource',
    method: 'post',
    data: data
  })
}

// 删除系统IT路径组件服务资源
export function deleteComponentServerResource(ids) {
  return request({
    url: '/admin/modules/component/server/resource/deleteComponentServerResource/'+ids,
    method: 'get'
  })
}

